home *** CD-ROM | disk | FTP | other *** search
- Path: in2.uu.net!van-bc!uniserve!dudd!carl
- From: Carl@dudd.uniserve.com (Carl)
- Date: 29 Feb 96 18:57:05
- Newsgroups: comp.lang.c
- Subject: gettimeofday() makes me mad !
- Message-ID: <208_9602292012@dudd.uniserve.com>
- X-FTN-To: bd@davaar.st-and.ac.uk
- Organization: De Udda Edda Gateway UUCP
-
-
- >PROBLEM : I'm trying to make a little program which must repeat an
- >action every .2 second for example ( less than 1 sec anyway). time()
- >wouldn't fit, so I searched and found the function gettimeofday() in
-
- bd> You are on a Unix system, any reason you are not using 'sleep'?
-
- bd> Adam
-
- What about if you use a function similar to the Borland clock_t() which
- returns the amount of clock ticks since program start. Don't clock ticks
- happen like 18 times per second on most systems?
-